<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_WARNING",false);?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>【色丰衣家】后台管理</title>
    <link rel="stylesheet" href=" http://localhost/ly/shop/APP/admin/Tpl/Index/css/index.css">
    <script type='text/javascript' src='http://localhost/ly/HDPHP/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
    <script  type="text/javascript">
        $(function(){
            $('#left .nav').click(function(){
                 $(this).find(".lisi").show().parent().siblings().find(".lisi").hide();
                // var oH = $(this).find(".lisi").attr("padding-right");
                // alert(oH);
                // $(this).find(".lisi").animate({'height':}).parent().siblings().find(".lisi").hide();               
            })

            $('#left .nav_title').hover(function(){
                 $(this).stop().animate({ 'padding-right':"25px"},300);
            },function(){
                $(this).stop().animate({ 'padding-right':"15px"},300);
            })

            $('#left .nav .lisi li').hover(function(){
                $(this).addClass('aBg');
            },function(){
                $(this).removeClass('aBg');
            })

            // $('#left .nav .lisi li').click(function(){
            //      $(this).addClass('aBg').siblings().removeClass('aBg');               
            // })
        })
    </script>

</head>
<body>
    <div id="admin">
        <div id="left">
            <h1 class="title"><img src="http://localhost/ly/shop/APP/admin/Tpl/Index/images/logo.png" alt=""></h1>
            <div class="info">
                <p>Hello, <span><strong><?php echo $id;?></strong></span> welcome ！</p>
                </br>
                <a href="<?php echo U('out');?>">退出管理 丨 Sign Out</a>               
            </div>
            <ul class="nav_box">
                <li class="nav">
                    <a class="nav_title" href="#">商品栏目管理</a>
                    <ul class="lisi">
                        <li>
                            <a href="<?php echo U('Goods/index');?>" target="content">商品列表</a>
                        </li>                      
                        <li>
                            <a href="<?php echo U('Goods/add');?>"  target="content">添加商品</a>
                        </li>
                        <li>
                            <a href="<?php echo U('Category/index');?>"  target="content">商品栏目</a>
                        </li>
                        <li>
                            <a href="<?php echo U('GoodsType/index');?>"  target="content">商品类型</a>
                        </li>
                    </ul>
                </li>
                <li class="nav">
                    <a class="nav_title" href="#">订单管理</a>
                    <ul class="lisi">
                        <li>
                            <a href="">订单列表</a>
                        </li>
                        <li>
                            <a href="">订单查询</a>
                        </li>
                        <li>
                            <a href="">未来支付订单</a>
                        </li>
                        <li>
                            <a href="">未发货单</a>
                        </li>
                    </ul>
                </li>
                <li class="nav">
                    <a class="nav_title" href="#">品牌管理</a>
                    <ul class="lisi">
                        <li>
                            <a href="<?php echo U('brand/index');?>" target="content" >品牌列表</a>
                        </li>
                    </ul>
                </li>
                <li class="nav">
                    <a class="nav_title" href="#">用户管理</a>
                    <ul class="lisi">
                        <li>
                            <a href="<?php echo U('user/index');?>" target="content">用户列表</a>
                        </li>
                    </ul>
                </li>
                <li class="nav">
                    <a class="nav_title" href="#">图片配置项</a>
                    <ul class="lisi">
                        <li>
                            <a href="<?php echo U('Config/index');?>" target="content">图片设置</a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>
                        
        <div id="right">
            <iframe src="<?php echo U('welcome');?>" name="content" ></iframe>
        </div>
        
    </div>
</body>
</html>